package 链表;

public class Test {
    public static void main(String[] args) {
        MysingleList mysingleList = new MysingleList();
        mysingleList.addIndex(0,12134);

        mysingleList.addLast(34);
        mysingleList.addLast(345);
        mysingleList.addLast(213);
        mysingleList.addLast(54);
        System.out.println("===");
        mysingleList.display();
        System.out.println("一共有"+mysingleList.size()+"个节点");
        System.out.println(mysingleList.contains(9));
        System.out.println(mysingleList.contains(4));
    }

}
